/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * ttp-hg-action.h
 * Copyright (C)  2011 Flos Lonicerae <lonicerae@gmail.com>
 * 
 * ttp-hg-action.h is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _TTP_HG_ACTION_H_
#define _TTP_HG_ACTION_H_

#include <gtk/gtk.h>
#include <thunarx/thunarx.h>
//#include <glib-object.h>

G_BEGIN_DECLS

typedef struct _TtpHgActionClass TtpHgActionClass;
typedef struct _TtpHgAction TtpHgAction;

#define TTP_TYPE_HG_ACTION             (ttp_hg_action_get_type ())
#define TTP_HG_ACTION(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), TTP_TYPE_HG_ACTION, TtpHgAction))
#define TTP_HG_ACTION_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), TTP_TYPE_HG_ACTION, TtpHgActionClass))
#define TTP_IS_HG_ACTION(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TTP_TYPE_HG_ACTION))
#define TTP_IS_HG_ACTION_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), TTP_TYPE_HG_ACTION))
#define TTP_HG_ACTION_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TTP_TYPE_HG_ACTION, TtpHgActionClass))

GType ttp_hg_action_get_type (void) G_GNUC_CONST G_GNUC_INTERNAL;

void  ttp_hg_action_register_type (ThunarxProviderPlugin *) G_GNUC_INTERNAL;

GtkAction* ttp_hg_action_new(const gchar *name,
			     const gchar *label,
			     GList *files,
			     GtkWidget *window,
			     gboolean is_parent,
			     gboolean is_directory,
			     gboolean is_file) G_GNUC_MALLOC G_GNUC_INTERNAL;

G_END_DECLS

#endif /* _TTP_HG_ACTION_H_ */
